/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Domain;

import java.awt.Color;
import java.io.Serializable;

/**
 *
 * @author Memet
 */
public class Materie implements Serializable{
    
    double e;
    double mu;
    double rho;
    double alpha;
    Color kleur;
    String naam;
    String fabrikant;
    double sterkte;
    String type;
    String website;
    String comments;
    int nr;
   

    /**
     *
     */
    public Materie()
    {

    }
    
    /**
     * Maakt nieuw materie
     * @param e de E-modulus
     * @param mu de Mu
     * @param rho de dichtheid
     */
    public Materie(double e, double mu, double rho) {
        this.e = e;
        this.mu = mu;
        this.rho = rho;

    }

    /**
     * de E-modulus
     * @return de E-modulus
     */
    public double getE() {
        return e;
    }

    /**
     * de E-modulus
     * @param e de E-modulus
     */
    public void setE(double e) {
        this.e = e;
    }

    /**
     * de Mu
     * @return de Mu
     */
    public double getMu() {
        return mu;
    }

    /**
     * de Mu
     * @param mu de Mu
     */
    public void setMu(double mu) {
        this.mu = mu;
    }

    /**
     * de Mu
     * @return de Mu
     */
    public double getRho() {
        return rho;
    }

    /**
     * de Mu
     * @param rho
     */
    public void setRho(double rho) {
        this.rho = rho;
    }

    public Color getKleur() {
        return kleur;
    }

    public void setKleur(Color kleur) {
        this.kleur = kleur;
    }

    public String getFabrikant() {
        return fabrikant;
    }

    public void setFabrikant(String fabrikant) {
        this.fabrikant = fabrikant;
    }

    public String getNaam() {
        return naam;
    }

    public void setNaam(String naam) {
        this.naam = naam;
    }

    @Override
    public String toString()
    {
        return this.naam;
    }

    public int getNr() {
        return nr;
    }

    public void setNr(int nr) {
        this.nr = nr;
    }

    public double getAlpha() {
        return alpha;
    }

    public void setAlpha(double alpha) {
        this.alpha = alpha;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public double getSterkte() {
        return sterkte;
    }

    public void setSterkte(double sterkte) {
        this.sterkte = sterkte;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }
    
}
